// 订单管理api
import { get, postJSON, post } from '@/utils/request'

// 根据条件分页查询订单
export function queryOder(params) {
  return get('/order/pageQuery', params)
}

// 查询所有员信息
export function getWaiters(params) {
  return get('/baseUser/pageQuery', params)
}

// 派单
export function paiDans(params) {
  return get('/order/sendOrder', params)
}
// 取消派单
export function cancelOrder(params) {
  return get('/order/cancelSendOrder', params)
}

// 获取订单详情信息
export function getOrderDeatil(params) {
  return get('/order/findById', params)
}
